//
//  DHBaseViewController.m
//  Sina.Weibo.OC
//
//  Created by Holfioo on 15/9/3.
//  Copyright © 2015年 Holfioo. All rights reserved.
//

#import "DHBaseViewController.h"
#import "DHVisitorView.h"

@interface DHBaseViewController ()

@end

@implementation DHBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self layoutNavBarView];
}

- (void)layoutNavBarView
{
    self.view = [[DHVisitorView alloc] initWithFrame:self.view.frame];
    // 增加左右按钮
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"注册" style:UIBarButtonItemStylePlain target:nil action:nil];
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"登录" style:UIBarButtonItemStylePlain target:nil action:nil];
}

@end
